Filters the view on the server side using a predicate.

Namespace:  C1.Data
Assembly:  C1.Data.Entity (in C1.Data.Entity.dll)

Syntax

C#
public virtual ClientView<T> AsFiltered(
	Expression<Func<T, bool>> predicate
)
Visual Basic
Public Overridable Function AsFiltered ( _
	predicate As Expression(Of Func(Of T, Boolean)) _
) As ClientView(Of T)

Parameters

predicate
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, Boolean>)>)>>)>)>
A function to apply each element to test the condition.

Return Value

A client view that contains elements of this view that satisfy the predicate.

See Also